package com.yct.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableEurekaClient
@SpringBootApplication
@EnableFeignClients //开启使用OpenFeign组件
@EnableHystrix //开启服务降级与容错Hystrix
public class CustomerFeignHystrixOrderApplication8080 {
    public static void main(String[] args) {
        SpringApplication.run(CustomerFeignHystrixOrderApplication8080.class,args);
    }
}
